package cn.getech.data.metadata.mapper;

import cn.getech.data.metadata.model.res.collectiontablestatistics.SystemStorageDayInner;
import cn.getech.data.metadata.model.res.collectiontablestatistics.TableHotRes;
import cn.getech.data.metadata.model.res.collectiontablestatistics.TableStatisticsRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CollectionTableStatisticsMapper {
    TableStatisticsRes tableStatistics(@Param("tenantId") Integer tenantId);

    List<SystemStorageDayInner> systemStorageDay30(Map<String,Object> params);

    List<TableHotRes> tableHot10(@Param("tenantId") Integer tenantId);

    List<SystemStorageDayInner> systemStorage(@Param("tenantId") Integer tenantId);
}